package javaBeans;

import java.util.Date;

public class ThreadPost {
	int idThread; // Thread
	int idPost; // ThreadPost
	int creator; //Member
	String message; //ThreadPost
	Date timestamp; // ThreadPost
	public ThreadPost(int idThread, int idPost, int creator, String message,
			Date timestamp) {
		super();
		this.idThread = idThread;
		this.idPost = idPost;
		this.creator = creator;
		this.message = message;
		this.timestamp = timestamp;
	
	
	}
	public int getIdThread() {
		return idThread;
	}
	public int getIdPost() {
		return idPost;
	}
	public int getCreator() {
		return creator;
	}
	public String getMessage() {
		return message;
	}
	public Date getTimestamp() {
		return timestamp;
	}
	
	
	
}
